#ifndef SMALLTOOL_H
#define SMALLTOOL_H

#include "qrencode.h"
#include <QObject>
#include <QImage>
#include <QPixmap>
#include <QPainter>

class SmallTool
{
public:
    static SmallTool* instance(){
        static SmallTool instance;
        return &instance;
    }
    void CreateRcode(QString data); //生成二维码

private:
    SmallTool();
    ~SmallTool();
    void GenerateQRcode(QString tempstr);
};
#endif // SMALLTOOL_H
